#ifndef CPP_BITMAPFACTORY_H
#define CPP_BITMAPFACTORY_H

#include <Global.h>
#include <Bitmap.h> //include必要类，避免应用遗漏include Bitmap.h而导致delete Bitmap指针时没能进去析构函数

//@brief 位图工厂
//@author cvte
//@description 载入位图
class BitmapFactory {
    public:
        BitmapFactory();
        ~BitmapFactory();

        static Bitmap* decodeFile(const char* filePath);
};

#endif /* CPP_BITMAPFACTORY_H */